package agentspeakeditor.editors.common.AST.Line;

import agentspeakeditor.editors.common.AST.Terminal.BoolConstant;
import agentspeakeditor.editors.common.checker.SemanticException;
import agentspeakeditor.editors.common.checker.Visitor;

public class BoolContext extends Context{

	BoolConstant constant;
	
	public BoolContext(BoolConstant constant) {
		this.constant = constant;
	}
	
	public BoolConstant getConstant() {
		return constant;
	}

	public void setConstant(BoolConstant constant) {
		this.constant = constant;
	}

	@Override
	public Object visit(Visitor v, Object arg) throws SemanticException {
		return v.visitBoolContext(this, arg);
	}

	@Override
	public String toString(int level) {
		// TODO Auto-generated method stub
		return null;
	}
}
